package com.demo.feign;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.demo.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zhr
 */
@FeignClient(name = "demo-eureka-client-provider-1")
public interface Demo1Service {
    @GetMapping("user/list")
    Page<User> list();
}
